entity: sensor.time
content: |2-
    <a href="https://mun.echosystem.fr/home.lan/Bmax.home.lan/">
    <img id="img1" src="https://mun.echosystem.fr/home.lan/Bmax.home.lan/speedfan-day.png">
    <img id="img2" src="https://mun.echosystem.fr/home.lan/Bmax.home.lan/processor-day.png">
   </a>
    <script>
      function refreshImages() {
        const timestamp = new Date().getTime(); // Obtenir l'heure actuelle pour éviter le cache
        document.getElementById('img1').src = `https://mun.echosystem.fr/home.lan/Bmax.home.lan/speedfan-day.png?timestamp=${timestamp}`;
        document.getElementById('img2').src = `https://mun.echosystem.fr/home.lan/Bmax.home.lan/processor-day.png?timestamp=${timestamp}`;
     }

      // Rafraîchir les images toutes les 5 minutes (300000 millisecondes)
      setInterval(refreshImages, 300000);
    </script>

    <style>
      img {
        -webkit-filter: invert(100%);
        filter: invert(100%);
      }       
    </style>
type: custom:tailwindcss-template-card
